package com.jmb.waimao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Social media user entity
 */
@Data
@TableName("social_media_user")
public class SocialMediaUser {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /**
     * User's username or handle
     */
    private String username;
    
    /**
     * User's display name or nickname
     */
    private String displayName;
    
    /**
     * User's email address
     */
    private String email;
    
    /**
     * User's phone number
     */
    private String phoneNumber;
    
    /**
     * Social media platform (e.g., Facebook, Instagram, Twitter)
     */
    private String platform;
    
    /**
     * User's profile URL
     */
    private String profileUrl;
    
    /**
     * User's bio or description
     */
    private String bio;
    
    /**
     * User's location
     */
    private String location;
    
    /**
     * Number of followers
     */
    private Integer followersCount;
    
    /**
     * Number of following
     */
    private Integer followingCount;
    
    /**
     * Number of posts
     */
    private Integer postsCount;
    
    /**
     * Additional information in JSON format
     */
    private String additionalInfo;
    
    /**
     * Creation time
     */
    private LocalDateTime createTime;
    
    /**
     * Update time
     */
    private LocalDateTime updateTime;
    
    /**
     * Logical delete flag (0: not deleted, 1: deleted)
     */
    private Integer deleted;
}
